<!---------------------------FORMULARIOS--------------------------------------->

<div class="container-fluid">

    <!---------------------------TITULO-------------------------------------------->
    <div class="page-header">
        <h1><?php echo "$title" ?></h1>

    </div>

    <!---------------------------CONTENIDO----------------------------------------->
    <div class="row-fluid">

        <form class="form-horizontal" name="medicos_form" id="medicos_form" data-validate="parsley" >
            <div class="span9 offset3">

                <!--Nombre-->
                <div class="control-group ">
                    <label class="control-label" for="m_nombre">Apellido *</label>
                    <div class="controls">

                        <input type="text" name="m_nombre" id="m_nombre"  data-required="true"  placeholder="Apellido" value="<?php echo $m_nombre ?>"  oninput="validar()">&nbsp; &nbsp;
                        <img id="img_loader" style="visibility:  hidden" src="<?php echo base_url() ?>images/ajax-loader.gif" />
                    </div>
                </div>
            </div>
        </div>
            <!----------------------------------BOTONES------------------------------------>    

            <div class="span7 offset5">

                <button type="submit" id="guardar-button" data-toggle="modal" class="btn-primary btn"   onclick="check()" >Guardar</button>
                <a href="<?php echo base_url() ?>medicos/lists" class="btn btn-inverse"  >Volver</a> 
            </div>

        </form> 


        <!--------------------------------INPUT HIDDEN--------------------------------->
        <input type="hidden" value="<?php echo base_url() ?>" id="base_url">
        <input type="hidden" value="<?php echo $accion ?>" name="accion" id="accion" >
        <input type="hidden" value="<?php echo $id_medico ?>" name='id_medico' id="id_medico">


        <?php $this->load->view('mensajes/mensaje_exito') ?>